package hu.diploma.web.client.pages;

import com.extjs.gxt.ui.client.widget.Text;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Widget;

public class OpenForm extends HorizontalPanel{
	private static Widget instanse;

	private OpenForm() {
	
		
		this.setWidth("100%");
		Text text = new Text("Hello");
		
		this.add(text);
		this.setCellHorizontalAlignment(text, ALIGN_RIGHT);
	}

	public static Widget getWidget() {
		if (instanse == null) {
			instanse = new OpenForm();
		}
		return instanse;
	}
}

